<template>
  <div class="mod-pay">
    <el-alert
      style="margin-bottom: 15px;"
      :title="$t('sysManagement.quickAlertTips')"
      type="warning"
      show-icon
      :closable="false"
    />
    <quickbird
      ref="quickbirdRef"
      :save-url="saveUrl"
      :change-flag="changeFlag"
      @activation-config="activationConfig"
    />
    <quick100
      ref="quick100Ref"
      :save-url="saveUrl"
      :change-flag="changeFlag"
      @activation-config="activationConfig"
    />
    <quickAli
      ref="quickAliRef"
      :save-url="saveUrl"
      :change-flag="changeFlag"
      @activation-config="activationConfig"
    />
  </div>
</template>
<script setup>
import quickbird from './components/quickbird-config.vue'
import quick100 from './components/quick100-config.vue'
import quickAli from './components/quick-ali-config.vue'

// 保存文件上传配置的url
const saveUrl = ref('/sys/pconfig/saveDeliveryConfig')
let changeFlag = ref(true)

// 激活配置回调
const activationConfig = () => {
  changeFlag = !changeFlag
}

</script>
